Automattic\WooCommerce\Internal\Admin\Settings\PaymentsProviders\PaymentGateway D

Total Complexity 126
Dependencies 9
Dependents 2
Total lines 1,003
Lines of code 548
Logical lines of code 240
Comment lines 350
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
is_in_test_mode()
A
45 11 42
get_containing_entity_type()
A
46 11 42
get_settings_url()
A
46 10 40
get_plugin_slug()
A
51 8 26
standardize_recommended_payment_method()
A
47 7 36
get_plugin_file()
S
56 7 20
get_recommended_payment_methods()
S
49 5 34
get_class_filename()
S
52 5 24
is_onboarding_completed()
S
54 5 23
get_title()
S
61 5 11
get_description()
S
61 5 11
needs_setup()
S
55 4 21
is_in_dev_mode()
S
55 4 20
is_account_connected()
S
55 4 20
is_in_test_mode_onboarding()
S
55 4 20
get_onboarding_url()
S
56 4 18
get_supports_list()
S
60 4 14
get_icon()
S
62 4 11
is_onboarding_started()
S
57 3 17
enhance_extension_suggestion()
S
65 4 9
extract_slug_from_path()
S
62 3 12
get_details()
S
47 1 39
is_enabled()
S
59 2 15
validate_recommended_payment_method()
S
72 3 5
get_plugin_details()
S
65 2 9
sort_recommended_payment_methods()
S
65 1 9